import { request } from '@/utils/request';

//用户领卷
export const addCoupon = () =>
    request<any>({
        method: 'POST',
        url: '/coupon/info/add'
    });


//领卷列表
export const getCouponList = (data:{state:string}) =>
    request<any>({
        method: 'GET',
        url: `/coupon/info/list?state=${data.state}`
    });
